import { request } from '@/framework/utils/request-jdz';
// 查询业务流程列表
export const getSeeList = (queryParam) => {
  return request(
    {
      url: '/auditCfg',
      method: 'get',
      params: queryParam,
    },
    {
      isGetDataDirectly: false,
    },
  );
};

// 编辑审批流程
export const getPutList = (id, obj) => {
  return request(
    {
      url: `/auditCfg/${id}`,
      method: 'put',
      data: obj,
    },
    {
      isGetDataDirectly: false,
    },
  );
};
